<?phpinclude_once("../../../config.php");//应该做一下校验，你提供的用户user id  是否和你当前请求的 openid匹配。不匹配就没权限，匹配就放行include_once("../common/check_connection_authur.php");$_authur=check_connection_authur($user_id,$_openid);    $_order['ai_pay_status']        = '3';    $_order['ai_refund_reason']     = $_POST['refund_reason'];    $_order['ai_refund_apply_date'] = date("Y-m-d H:i:s");    $_sql=update_date($table_prefix."order_info",$_order,"order_id",$_POST['order_id']);    $requst=do_query($_sql) or die($_sql);    //判断添加是否成功    if($requst){        $arr['code'] = 200;        $arr['status'] = 200;        $arr['info'] = "success";        $arr['debug'] = $_POST;    }else{        $arr['code'] = 400;        $arr['status'] = 400;        $arr['info'] = "fail";        $arr['debug'] = $_POST;    }    die(json_encode($arr));?>